package com.neugh.service;

import com.neugh.entity.Collect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neugh.entity.House;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
public interface CollectService extends IService<Collect> {

    boolean addCollect(@Param("houseId") Integer houseId, @Param("userId") Integer userId);

    List<House> selectList(@Param("userId") Integer userId);

}
